package com.arong.swing.db.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class CrPersionRecord implements Serializable{ 

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;

	private String checkeventId;

	private String sfhm;

	private String xm;

	private String mz;

	private String xb;

	private byte[] zp;
	
	private String csrq;

	private String sfzzz;

	private String qfjg;

	private String yxqx;
	
	private String allgenerateId;
	private String allpackageVer;

	private String province;

	private String city;

	private String county;

	private Timestamp pcsj;

	private String sjly;

	private Timestamp createTime;

	
	
	public String getAllgenerateId() {
		return allgenerateId;
	}

	public void setAllgenerateId(String allgenerateId) {
		this.allgenerateId = allgenerateId;
	}

	public String getAllpackageVer() {
		return allpackageVer;
	}

	public void setAllpackageVer(String allpackageVer) {
		this.allpackageVer = allpackageVer;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}

	public void setCheckeventId(String checkeventId) {
		this.checkeventId = checkeventId;
	}
	
	public byte[] getZp() {
		return zp;
	}

	public void setZp(byte[] zp) {
		this.zp = zp;
	}

	public String getCheckeventId() {
		return checkeventId;
	}

	public void setSfhm(String sfhm) {
		this.sfhm = sfhm;
	}
	
	public String getSfhm() {
		return sfhm;
	}

	public void setXm(String xm) {
		this.xm = xm;
	}
	
	public String getXm() {
		return xm;
	}

	public void setMz(String mz) {
		this.mz = mz;
	}
	
	public String getMz() {
		return mz;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}
	
	public String getXb() {
		return xb;
	}

	public void setCsrq(String csrq) {
		this.csrq = csrq;
	}
	
	public String getCsrq() {
		return csrq;
	}

	public void setSfzzz(String sfzzz) {
		this.sfzzz = sfzzz;
	}
	
	public String getSfzzz() {
		return sfzzz;
	}

	public void setQfjg(String qfjg) {
		this.qfjg = qfjg;
	}
	
	public String getQfjg() {
		return qfjg;
	}

	public void setYxqx(String yxqx) {
		this.yxqx = yxqx;
	}
	
	public String getYxqx() {
		return yxqx;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	
	public String getProvince() {
		return province;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	public String getCity() {
		return city;
	}

	public void setCounty(String county) {
		this.county = county;
	}
	
	public String getCounty() {
		return county;
	}

	public void setPcsj(Timestamp pcsj) {
		this.pcsj = pcsj;
	}
	
	public Timestamp getPcsj() {
		return pcsj;
	}

	public void setSjly(String sjly) {
		this.sjly = sjly;
	}
	
	public String getSjly() {
		return sjly;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public Timestamp getCreateTime() {
		return createTime;
	}

	public boolean equals(Object obj) {
		boolean equals = false;
		if (obj != null && obj instanceof CrPersionRecord) {
			CrPersionRecord another = (CrPersionRecord) obj;
			equals = new EqualsBuilder()
					.append(id, another.getId())
					.isEquals();
		}
		return equals;
	}
	
	public int hashCode() {
		return new HashCodeBuilder(17, 37)
				.append(id)
				.toHashCode();
	}
	
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", getId())
				.toString();
	}
}